/*
 * @Author       : NaN 353362604@qq.com
 * @Date         : 2023-06-01 10:00:03
 * @LastEditTime : 2023-08-14 13:27:43
 * @LastEditors  : NaN 353362604@qq.com
 * @FilePath     : \AdminStration\src\Common\Router\MenuNav\ThrRouter\Fence.jsx
 * @Description  :
 */
import { API_LIST } from '../../../Api/Api'
import { commonTableList } from '../Common/common'

export const DepartmentUsers = async ({ twoData, ClientData }) => {
    let dataList = {
        isCheckbox: true,
        width: 1000,
        pageSize: 10,
        params: { pageIndex: 1 },
        get: API_LIST()['getDepartmentUsersUserLists'],
        pos: 'posDepartmentUsers',
        assemblyData: e => e.map(item => item.uuid),
        columns: [
            commonTableList.uuid,
            {
                title: '登录账户',
                dataIndex: 'tableName',
                search: false,
            },
            {
                title: '姓名',
                dataIndex: 'fullName',
            },
        ],
    }

    return dataList
}
